package org.budo.ehcache.replicator;

/**
 * 请自行启动收消息相关逻辑，收到消息后调用 onReplicatorMessage
 * 
 * @see org.budo.ehcache.replicator.factory.EhcacheReplicatorFactory#handleReplicatorMessage(ReplicatorMessage,EhcacheReplicator)
 * @author lmw
 */
public interface EhcacheReplicator {
    /**
     * 实现发消息方法
     */
    void publishReplicatorMessage(ReplicatorMessage message);
}